package com.jame.test.aoptest.pojo;

import com.jame.annotations.bean.Autowired;
import com.jame.annotations.bean.Component;

/**
 * @author : Jame
 * @date : 2021-08-26 17:43
 **/
@Component
public class AopA {
    @Autowired
    public AopB b;


    public String a() {
        System.out.println("AopA的a方法,返回类型为String");
        return "";
    }


    public Integer b() {
        System.out.println("AopA的b方法,返回类型为Integer");
        return new Integer(1);
    }

}
